﻿Public Class ChuNhaBUS
    Private cnDAO As ChuNhaDAO

    Public Sub New()
        cnDAO = New ChuNhaDAO
    End Sub
    Public Function CapNhat(ByVal cn As ChuNhaDTO, ByVal f As Boolean) As Boolean
        Return cnDAO.CapNhat(cn, f)
    End Function
    Public Function XoaChuNha(ByVal emp As ChuNhaDTO)
        Return cnDAO.XoaChuNha(emp)
    End Function
    Public Function GetData() As List(Of ChuNhaDTO)
        Return cnDAO.GetData()
    End Function
End Class
